<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:rich="http://richfaces.ajax4jsf.org/rich"
      xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
      xmlns:t="http://myfaces.apache.org/tomahawk">
<ui:composition>  
	<f:view >
		<h:form >
		<h:panelGroup rendered="#{not SessionUser.usuario.administrador}">
			<li>
				<h:commandLink action="#{ManageOrientacao.exibirPesquisa}" >Orientar Alunos</h:commandLink>
			</li>
				<h:panelGroup rendered="#{not SessionUser.usuario.professor and not SessionUser.usuario.administrador}">
					<li>
							<h:commandLink action="#{ManageBancoVagas.exibirPesquisa}" >Banco de Vagas</h:commandLink>
					</li>
				</h:panelGroup>
		</h:panelGroup>
		<li><h:commandLink action="#{ManageMailer.sendMailer}" >Mensagens</h:commandLink></li>
		<h:panelGroup rendered="#{not SessionUser.usuario.professor and not SessionUser.usuario.administrador}">
			<li><h:commandLink action="#{ManageInstrumentoConclusao.exibirPesquisa}" >Instrumentos de Conclusão</h:commandLink></li>
		</h:panelGroup>
		<h:panelGroup rendered="#{not SessionUser.usuario.professor}">
		
			<li><h:outputLink value="/cpp-web/pages/cadastros.jsf" title="Cadastros">Cadastros</h:outputLink>
			</li>
		</h:panelGroup>
	<li>
	
		<h:commandLink action="#{SessionUser.logout}" title="Sair">Sair</h:commandLink>
	</li>
	</h:form>			
	</f:view>
</ui:composition>
</html>